<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2">基本信息</td>

	</tr>
	<tr>
		<td align="right"><span class="color_red" width="230px;">*</span>项目名称：</td>
		<td colspan="3"><input id="zh_title" name="proposal/zh_title"
			label="项目名称" type="text" required
			class="input_css required maxlength:100" style="width: 585px;"
			maxlength="100"
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	
	<tr>
		<td nowrap  align="right" ><span class="color_red">*</span>并购形式：</td>
		<td colspan="3">
		 <label><input type="radio" name="maform"   style="vertical-align: middle;"  class="do" value="1" label="股权并购 " onchange="changeArea();"><span style="vertical-align: middle;">股权并购</span></label>
		 <label><input type="radio" name="maform"  style="vertical-align: middle;"  class="do" value="2" label="资产并购" onchange="changeArea();"><span style="vertical-align: middle;">资产并购</span></label>
		 <label><input type="radio" name="maform"  style="vertical-align: middle;"  class="do" value="3" label="其他" onchange="changeArea();"><span style="vertical-align: middle;">其他</span></label>
		 <input type="text" style="display: none" id="maform_sel" name="proposal/maform_sel" maxlength="20"  label="并购形式-->其他" value="<x:out select="$xmlData/data/proposal/maform_sel" />">
		<input type="hidden" id='maform_value' name="proposal/maform_value" class="required"  label="并购形式"  value="<x:out select="$xmlData/data/proposal/maform_value" />">	
		<input type="hidden" name="proposal/maform_name" id="maform_name" value="<x:out select="$xmlData/data/proposal/maform_name" />">	
		</td>
	</tr>
	<tr>

		<td align="right"><span class="color_red">*</span>并购投资金额（万元）：</td>
		<td ><input name="proposal/fund/ma_ivestment_amt"  id="ma_ivestment_amt"   type="text" 
			class="input_css required" style="text-align: right" label="并购投资金额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/fund/ma_ivestment_amt" />" /></td>
		<td align="right"><span class="color_red">*</span>所占股（%）：</td>
		<td>
		<input name="proposal/fund/ma_ivestment_amt_pre"  id="ma_ivestment_amt_pre"   type="text" 
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,2,2)" label="所占股"
			value="<x:out select="$xmlData/data/proposal/fund/ma_ivestment_amt_pre" />" /></td>
	</tr>
	
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>并购合同（协议、意向）签署日期：</td>
		<td><c:set var="ma_ctr_date"><x:out select="$xmlData/data/proposal/ma_ctr_date" /></c:set> 
			<cpt:date id="ma_ctr_date" name="proposal/ma_ctr_date"
				value="${ma_ctr_date}" className=" required date" label="并购合同（协议、意向）签署日期"></cpt:date>
		</td>
		<td align="right" nowrap><span class="color_red">*</span>约定付款完成日期：</td>
		<td><c:set var="promise_pay_date"><x:out select="$xmlData/data/proposal/promise_pay_date" /></c:set> 
			<cpt:date id="promise_pay_date" name="proposal/promise_pay_date"
				value="${promise_pay_date}" className=" required date" label="约定付款完成日期"></cpt:date>
		</td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>约定产权交割日期：</td>
		<td><c:set var="property_delivery_date"><x:out select="$xmlData/data/proposal/property_delivery_date" /></c:set> 
			<cpt:date id="property_delivery_date" name="proposal/property_delivery_date"
				value="${property_delivery_date}" className=" required date" label="约定产权交割日期"></cpt:date>
		</td>
		<td align="right" nowrap><span class="color_red">*</span>工商变更完成日期：</td>
		<td><c:set var="change_bus_date"><x:out select="$xmlData/data/proposal/change_bus_date" /></c:set> 
			<cpt:date id="hold_date" name="proposal/change_bus_date"
				value="${change_bus_date}" className=" required date" label="工商变更完成日期"></cpt:date>
		</td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="3"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" className=" required date" label="申报日期"></cpt:date>
		</td>

	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo1" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2">兼并方基本情况</td>

	</tr>
	<tr>
		<td  width="230px;" align="right"><span class="color_red">*</span>兼并方企业名称<br/>（海外企业需中英文）：</td>
		<td colspan="3"><input name="ma_company/ma_company_name" label="兼并方企业名称"
			type="text" required class="input_css required maxlength:100"
			style="width: 585px;" maxlength="100"
			value="<x:out select="$xmlData/data/ma_company/ma_company_name" />" /></td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>国别/省份：</td>
		<td><input name="ma_company/contry_province" label="国别/省份" type="text"
			required class="input_css required maxlength:100" maxlength="100"
			value="<x:out select="$xmlData/data/ma_company/contry_province" />" /></td>
		<td align="right"><span class="color_red">*</span>注册资本（万元）：</td>
		<td><input name="ma_company/regist_fund"  id="regist_fund"   type="text"  label="注册资本"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/regist_fund" />" /></td>
	</tr>

	<tr>
		<td align="right"><span class="color_red">*</span>注册类型：</td>
		<td width="38%" align="left" colspan="1">
		<c:set var="nature1">{'id':'<x:out select="$xmlData/data/proposal/nature1_code" />',
							  'name':'<x:out select="$xmlData/data/proposal/nature1_name" />'}</c:set> 
		<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray required"
				readonly="true" value="${nature1}" label="注册类型" id="nature1" showPattern="current" shieldPattern="0"
				topCheckbox="false" onClick="initTreeValue2" /> 
		<input id="nature1_code" type="hidden" name="proposal/nature1_code" class=""
			label="注册类型" value="<x:out select="$xmlData/data/proposal/nature1_code" />" /> 
		<input id="nature1_name" type="hidden" name="proposal/nature1_name"
			value="<x:out select="$xmlData/data/proposal/nature1_name" />" /></td>
			
		<td align="right" nowrap><span class="color_red">*</span>注册日期：</td>
		<td><c:set var="regist_date"><x:out select="$xmlData/data/ma_company/regist_date" /></c:set> 
			<cpt:date id="regist_date" name="ma_company/regist_date"
				value="${regist_date}" className=" required date" label="注册日期"></cpt:date>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>注册地区：</td>
		<td colspan="3"><input name="ma_company/regist_address"
			label="注册地区" type="text" class="input_css required"
			style="width: 585px;" maxlength="100"
			value="<x:out select="$xmlData/data/ma_company/regist_address" />" /></td>
	</tr>
	<tr>
	 	<td align="right"><span class="color_red">*</span>行业类型：</td>
          <td colspan="1" align="left">
	          <c:set var="belong_industry">{'id':'<x:out select="$xmlData/data/ma_company/belong_industry_value" />','name':'<x:out select="$xmlData/data/ma_company/belong_industry_name" />'}</c:set>
          	  <cpt:tree key="belong_industry" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${belong_industry}" label="所属国民经济行业"
          		id="belong_industry" name="industryName" showPattern="all" shieldPattern="0" onClick="initTreeValue"></cpt:tree>
	          <input type="hidden" name="ma_company/belong_industry_value" value="<x:out select="$xmlData/data/ma_company/belong_industry_value" />" class="required"  label="行业类型"/>
	          <input type="hidden" name="ma_company/belong_industry_name" value="<x:out select="$xmlData/data/ma_company/belong_industry_name" />"/>
          </td>
          <td align="right"><span class="color_red">*</span>组织机构代码：</td>
		<td><input name="ma_company/org_no1" label="组织机构代码"
			type="text" class="input_css required"
			maxlength="20"
			value="<x:out select="$xmlData/data/ma_company/org_no1" />" /></td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>企业类型：</td>
		<td nowrap colspan="5"><c:set var="business_type">
				<x:out select="$xmlData/data/ma_company/business_type_value" />
			</c:set> <cpt:checkbox key="business_type" name="business_type" repeatColumn="5"
				style="border: 0px; padding: 2px; margin: 1px;float:left;"></cpt:checkbox>
			<input type="hidden" id="business_type_value"
			name="ma_company/business_type_value" class="required" value="${business_type}"
			label="企业类型"> <input type="hidden"
			name="ma_company/business_type_name"
			value="<x:out select="$xmlData/data/ma_company/business_type_name" />">
		</td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo2" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>兼并方近三年财务情况</td>
	</tr>
	<tr align="center" >
	            <th width="15%">近三年</th>
				<th width="15%">资产总额（万元）</th>
				<th width="15%">负债率（%）</th>
				<th width="15%">销售收入（万元）</th>
				<th width="20%">利润总额（万元）</th>
				<th width="20%">税收总额（万元）</th>
			</tr>
			
	<tr align="center">
		<td><span name="ma_company/year1">${year-1 }</span></td>
		<td><input name="ma_company/amt_total1"  id="amt_total1"   type="text"  label="资产总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/amt_total1" />" /></td>
		<td><input name="ma_company/debt_radio1"  id="debt_radio1"   type="text"  label="负债率"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/debt_radio1" />" /></td>
		<td><input name="ma_company/sales_total1"  id="sales_total1"   type="text"  label="销售收入"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/sales_total1" />" /></td>
		<td><input name="ma_company/profit_total1"  id="profit_total1"   type="text"  label="利润总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/profit_total1" />" /></td>
		<td><input name="ma_company/tax_total1"  id="tax_total1"   type="text"  label="税收总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/tax_total1" />" /></td>
	</tr>
	<tr align="center">
		<td><span name="ma_company/year2">${year-2 }</span></td>
		<td><input name="ma_company/amt_total2"  id="amt_total2"   type="text"  label="资产总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/amt_total2" />" /></td>
		<td><input name="ma_company/debt_radio2"  id="debt_radio2"   type="text"  label="负债率"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/debt_radio2" />" /></td>
		<td><input name="ma_company/sales_total2"  id="sales_total2"   type="text"  label="销售收入"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/sales_total2" />" /></td>
		<td><input name="ma_company/profit_total2"  id="profit_total2"   type="text"  label="利润总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/profit_total2" />" /></td>
		<td><input name="ma_company/tax_total2"  id="tax_total2"   type="text"  label="税收总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/tax_total2" />" /></td>
	</tr>
	<tr align="center">
		<td><span name="ma_company/year3">${year-3 }</span></td>
		<td><input name="ma_company/amt_total3"  id="amt_total3"   type="text"  label="资产总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/amt_total3" />" /></td>
		<td><input name="ma_company/debt_radio3"  id="debt_radio3"   type="text"  label="负债率"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/debt_radio3" />" /></td>
		<td><input name="ma_company/sales_total3"  id="sales_total3"   type="text"  label="销售收入"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/sales_total3" />" /></td>
		<td><input name="ma_company/profit_total3"  id="profit_total3"   type="text"  label="利润总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/profit_total3" />" /></td>
		<td><input name="ma_company/tax_total3"  id="tax_total3"   type="text"  label="税收总额"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/tax_total3" />" /></td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="amtFund2" cellspacing="1">
	<tr>
		<td colspan="5" class="t_bar2">
	<span class="color_red">*</span>并购前年度
			<input id="ma_before_year" label="并购前年度" class="required input_css year" style="width: 50px;height: 17px;" name="ma_company/ma_before_year" maxlength="4" value="<x:out select="$xmlData/data/ma_company/ma_before_year" />">税收贡献情况（金额单位：万元）
	</td>
	</tr>
	<tr align="center" >
	            <th width="25%">合计</th>
				<th width="25%">增值税</th>
				<th width="25%">营业税</th>
				<th width="25%">企业所得税</th>
			</tr>
	<tr align="center">
		<td><input id="ma_bef_total" name="ma_company/ma_bef_total" style="text-align: right;" class="gray" disabled="disabled" value="<x:out select="$xmlData/data/ma_company/ma_bef_total" />"></td>
		<td><input name="ma_company/bef_include_tax"  id="bef_include_tax"   type="text"  label="增值税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_bef_total','bef_include_tax','bef_business_tax','bef_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/bef_include_tax" />" /></td>
		<td><input name="ma_company/bef_business_tax"  id="bef_business_tax"   type="text"  label="营业税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_bef_total','bef_include_tax','bef_business_tax','bef_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/bef_business_tax" />" /></td>
		<td><input name="ma_company/bef_cit"  id="bef_cit"   type="text"  label="企业所得税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_bef_total','bef_include_tax','bef_business_tax','bef_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/bef_cit" />" /></td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="amtFund3" cellspacing="1">
	<tr>
		<td colspan="5" class="t_bar2">
	<span class="color_red">*</span>并购后年度
			<input id="ma_after_year" label="并购后年度"  maxlength="4"  class="required input_css year" style="width: 50px;height: 17px;" name="ma_company/ma_after_year" value="<x:out select="$xmlData/data/ma_company/ma_after_year" />">税收贡献情况（金额单位：万元）
	</td>
	</tr>
	<tr align="center" >
	            <th width="25%">合计</th>
				<th width="25%">增值税</th>
				<th width="25%">营业税</th>
				<th width="25%">企业所得税</th>
			</tr>
	<tr align="center">
		<td><input id="ma_after_total" style="text-align: right;" name="ma_company/ma_after_total" class="gray" disabled="disabled" value="<x:out select="$xmlData/data/ma_company/ma_after_total" />"></td>
		<td><input name="ma_company/after_include_tax"  id="after_include_tax"   type="text"  label="增值税"
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)" onchange="setTotalTax('ma_after_total','after_include_tax','after_business_tax','after_cit')"
			value="<x:out select="$xmlData/data/ma_company/after_include_tax" />" /></td>
		<td><input name="ma_company/after_business_tax"  id="after_business_tax"   type="text"  label="营业税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_after_total','after_include_tax','after_business_tax','after_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/after_business_tax" />" /></td>
		<td><input name="ma_company/after_cit"  id="after_cit"   type="text"  label="企业所得税"
			class="input_css required" style="text-align: right" onchange="setTotalTax('ma_after_total','after_include_tax','after_business_tax','after_cit')"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/ma_company/after_cit" />" /></td>
	</tr>
</table>


<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo4" cellspacing="1">

	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>申请项目资金情况（金额单位：万元）</td>

	</tr>
	<tr>
		<td align="right">项目类别：</td>
		<td><x:out select="$xmlData/data/proposal/grant_name" /></td>
		<td align="right">申请金额：</td>
		<td colspan="3"><input name="proposal/sqje" id="sqje"
			label="申请金额" type="text" 
			class="input_css  required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/sqje" />" /></td>

	</tr>

	<tr>
		<td align="right">支持方式：</td>
		<td><span name="proposal/sponsor_category"><x:out
					select="$xmlData/data/proposal/sponsor_category" /></span></td>

		<td align="right">资金级次：</td>
		<td colspan="3"><span name="proposal/fund_level">市级</span></td>
	</tr>
	<tr>
		<td align="right" nowrap>归口管理部门：</td>
		<td><span name="proposal/org_name">无锡市经济和信息化委员会</span></td>
		<td align="right">管理类别：</td>
		<td colspan="3"><span name="proposal/manage_category"><x:out
					select="$xmlData/data/proposal/manage_category" /></span></td>

	</tr>
	<tr style="display: none">
		<td></td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5"><c:set var="industry">
				<x:out select="$xmlData/data/proposal/industry_value" />
			</c:set> <cpt:checkbox key="industry" name="industry" repeatColumn="5"
				style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value"
			name="proposal/industry_value" class="required" value="${industry}"
			label="项目所属产业"> <input type="hidden"
			name="proposal/industry_name"
			value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
		<td align="right">功能分类：</td>
		<td colspan="5"><span name="proposal/grant_function"><x:out
					select="$xmlData/data/proposal/grant_function" /></span></td>

	</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td class="t_bar2">申请资助依据条款</td>

	</tr>
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
			name="proposal/policy_foundation"><x:out
					select="$xmlData/data/proposal/policy_foundation" /></span>
		</td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>

<script type="text/javascript">
$(function(){
	changeArea();
});
function changeArea() {
	var val = $("#maform_value").val();
	var classAttr = "input_css";
	if(val == '3') {
		$("#maform_sel").attr("style","display:");
		$("#maform_sel").attr("class", classAttr+" required");
	} else {
		$("#maform_sel").attr("style","display:none");
		$("#maform_sel").attr("class", classAttr);
	}
}

function setTotalTax(id1,id2,id3,id4) {
	var  total2 = $("#"+id2).val();
	var  total3 = $("#"+id3).val();
	var  total4 = $("#"+id4).val();
	
	if (!$.isNumeric(total2))  total2 = "0";
	   if (!$.isNumeric(total3)) total3 = "0";
	   if (!$.isNumeric(total4)) total4 = "0";
	
	var total1 = ((parseFloat(total2)*10000 + parseFloat(total3)*10000 + parseFloat(total4)*10000)/10000).toFixed(4);
	var count = formatNumberAuto(total1.toString(), 9, 4, 2);// 格式化金额
	$("#"+id1).val(count);
}
/**
* 选择树设置隐藏域值 public.js中原函数不适用
*/
function initTreeValue(treeId, treeNode) {
    if(treeId == 'belong_industry'){
    	if(treeNode.level < 2){
    		scmWarn($("#" + treeId).attr("label")
    				+ "不能选择第一、二级，请选择它的子级！");
    		return false;
    	}
    }


	//if (!(treeNode && treeNode.level > 0)) {
	if (!(treeNode && (treeNode.level > 0 || !treeNode.isParent))) {
		scmWarn($("#" + treeId).attr("label")
				+ messageTip.researchAreaInvalidDisciplineCode);
		if (treeNode.level == 0) {
			$("#" + treeId).val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId+ "_code']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId+ "_value']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId+ "_name']").val("");
		}
		return false;
		}
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		while (obj != null) {
			//str = obj.name + "-" + str;
			obj = obj.parentNode;
		}
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);

		
	
	}
</script>


